package com.feidee.bigdata;

import com.feidee.myrule.MyselfRule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

/**
 * @Author:CHQ
 * @Date:2020/4/7 18:12
 * @Description
 */
@SpringBootApplication
@EnableEurekaClient
@RibbonClient(name = "payment-service", configuration = MyselfRule.class)
public class ConsumerApplication {
    public static void main(String args[]) {
        SpringApplication.run(ConsumerApplication.class, args);
    }
}
